<?php

namespace App\Providers;

use App\Models\ExChanging;
use App\Models\Patient;
use App\Observers\ExChangeObserver;
use App\OBService\Mails;
use App\OBService\TemPlate;
use Illuminate\Support\ServiceProvider;
use Illuminate\Pagination\Paginator;

class AppServiceProvider extends ServiceProvider
{
    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
        //
    }

    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {
        Patient::observe(TemPlate::class);

        Patient::observe(Mails::class);
        Paginator::useBootstrap();
        ExChanging::observe(ExChangeObserver::class);
    }
}
